home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
PAS_0493
/
WRIT8025.TXT
< prev
next >
Wrap
Text File
|
1993-04-14
|
1KB
|
27 lines
{─ Fido Pascal Conference ────────────────────────────────────────────── PASCAL ─
Msg : 383 of 385
From : Mick Mcham 1:106/113.0 11 Apr 93 09:51
To : All
Subj : Write to Position 80,25.
────────────────────────────────────────────────────────────────────────────────}
Thanks to those of you who have been answering my question about
writing to the last position on the far right bottom of the screen.
As you will recall, the trouble I had was that when you write to that
position (position 80, line 25) using a WRITE (not a writeln) statement
the cursor wraps to the next line and causes the screen to scroll up one
line. The most simple soloution to this problem came from BORLAND via
CompuServe's PASCAL forum. The solution follows:
Step 1. Write out what you actually want to go on line 25 on the
next to last line (24) instead.
Step 2. Using the InsLine Procedure "shove" what you have on
line 24 down to line 25. (** you must have Crt listed
in USES to use this procedure).
Step 3. Go back to line 24 (which is now a blank line) and write
out what you actually wanted to go on line 24.
This worked! I tried it and it did the trick.